package edu.sctu.xialei.May.day20150525one;

/**
 * Created by Administrator on 5/25/2015.
 */
public class Calls {

    public static void main(String[] args) {

        StringUtil stringUtil = new StringUtil();

        Printer printer = new Printer();

        printer.printting(stringUtil.compareString("喜欢你", "喜欢你"));

        printer.printting(stringUtil.subString("xialei",2,5));

        printer.printting(stringUtil.countStringLength("woxihuanni"));

        String[] stringArray = new String[]{"xia","lei","xihuanni"};
        printer.printting(stringUtil.contStringArrayLength(stringArray));

        printer.printting(stringUtil.getCharAt("xialei shi",5));

        printer.printting(stringUtil.getIndexOf("xialeijiushiwo",'e'));

        printer.printting(stringUtil.getLastIndexOf("xialei",'i'));

        printer.printting(stringUtil.replaceStringChar("nishisb",'h','s'));

        printer.printting(stringUtil.splitString("e1e", "1"));

        printer.printting(stringUtil.toLowerCase("WOXsgjslj"));

        printer.printting(stringUtil.toUpperCase("xileibushiHK124"));

        printer.printting(stringUtil.ObjectToString(printer));

        printer.printting(stringUtil.trimString("       ghskghk13 #  "));

        printer.printting(stringUtil.integerValueOfString(582865289));
    }
}
